package com.beerandjesus.sportofkings.handicapper.factory.profile;

import com.beerandjesus.sportofkings.handicapper.model.AnalysisProfile;
import com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.HorseRace;
import com.beerandjesus.sportofkings.handicapper.model.brisnet.singlefile.Horse;

/**
 * Date: Jul 6, 2012
 * Time: 2:08:12 PM
 */
public interface AnalysisProfileResolver {

    /**
     * Determine whether or not the input satisfies the conditions
     * of the type of analysis profile returned.
     * @param race The horse race
     * @param horse The horse under consideration
     * @return The analysis profile, if the input satisfies the necessary
     *          conditions, or null if the profile type does not apply
     */
    public AnalysisProfile resolve(HorseRace race, Horse horse);
    
}
